<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paper')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paper" data-rule="required" class="form-control" name="row[paper]" type="number" value="{$row.paper|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Innertag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-innertag" data-rule="required" class="form-control" data-role="tagsinput" name="row[innertag]" type="text" value="{$row.innertag|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Carton')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-carton" data-rule="required" class="form-control" name="row[carton]" type="text" value="{$row.carton|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Doublingplate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-doublingplate" data-rule="required" class="form-control" name="row[doublingplate]" type="text" value="{$row.doublingplate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pepackaging')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pepackaging" data-rule="required" class="form-control" name="row[pepackaging]" type="text" value="{$row.pepackaging|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card" data-rule="required" class="form-control" name="row[card]" type="text" value="{$row.card|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Testreport')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-testreport" data-rule="required" class="form-control" name="row[testreport]" type="text" value="{$row.testreport|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Labeling')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-labeling" data-rule="required" class="form-control" name="row[labeling]" type="text" value="{$row.labeling|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Layers')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-layers" data-rule="required" class="form-control" name="row[layers]" type="text" value="{$row.layers|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pallet')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pallet" data-rule="required" class="form-control" name="row[pallet]" type="text" value="{$row.pallet|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Planid" data-rule="required" data-source="clothmaking_plan/index" class="form-control selectpage" name="row[planid]" type="text" value="{$row.planid|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>